package cn.opopopo.design_pattern_learn.行为型.strategy;

// VIP：8折
public class VipDiscountStrategy implements DiscountStrategy {
    @Override
    public double applyDiscount(double price) {
        System.out.println("应用VIP 8折优惠...");
        return price * 0.8;
    }
}